/**
 * 
 */
package com.populardata;

import java.util.Set;

import javax.ejb.Remote;


/**
 * @author bshirley
 *
 */
@Remote
public interface AddressLookupRemote {
	public int primeTheData();
	public AddressLookup lookupZip(int zipcode);
	public Set<String> getAllStateNames(boolean onlyStates);
	public Set<String> getCityNamesForState(String stateName);
	public Set<AddressLookup> getAddressLookupsForState(String stateName);
	public Set<AddressLookup> getAddressLookupsForCity(String stateName, String cityName);
	public Set<AddressLookup> getAddressLookupsNear(float latitude, float longitude, int miles);
	
	// public Set<AddressLookup> getAddressLookupForPartialZip(String partialZip);
	// "770" means prefix, 77000 - 77099
}
